<template>
	<view>
		<button @click="goToLogin">前往登入页</button>
		<button @click="goToHometown">泉州介绍</button>
		<navigator url="/pages/cardVIewPage/cardVIewPage">
			<button>新闻组件页面</button>
		</navigator>
		<navigator url="/pages/APIimage/APIimage">
			<button>图片选择</button>
		</navigator>
		<navigator url="/pages/weather/weather">
			<button>天气预报</button>
		</navigator>
		<navigator url="/pages/Download/Download">
			<button>下载图片</button>
		</navigator>
		<navigator url="/pages/IntentPage/IntentPage">
			<button>组件传值</button>
		</navigator>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			goToLogin(){
				uni.navigateTo({
					url:'/pages/Login/Login'
				})
			},
			goToHometown(){
				uni.navigateTo({
					url:'/pages/Hometown/Hometown'
				})
			}
		}
	}
</script>

<style>
button{
	margin: 20rpx;
}
</style>
